﻿<UserControl
    x:Class="JumpstartApp.Controls.Badge"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:JumpstartApp.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="50"
    d:DesignWidth="300">
    
    <Grid Background="Transparent" Height="50">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="5" />
            <ColumnDefinition Width="75" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*" />
            <RowDefinition Height="1.*" />
        </Grid.RowDefinitions>
        <TextBlock x:Name="NameTextBlock" Grid.Row="0" VerticalAlignment="Bottom" HorizontalAlignment="Right" FontSize="24" FontWeight="Light">User Name</TextBlock>
        <TextBlock x:Name="EmailTextBlock" Grid.Row="1" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="11" FontWeight="Light">User email address</TextBlock>
        <Image x:Name="BadgeImage" Source="ms-appx:///Assets/Badge.png" Grid.Column="2" Grid.RowSpan="2" Stretch="UniformToFill"  Height="50" Width="50" />
    </Grid>
</UserControl>
